﻿using System;
namespace Golf.Model
{
	/// <summary>
	/// Golf_OrderProduct:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Golf_OrderProduct
	{
		public Golf_OrderProduct()
		{}
		#region Model
		private int _id;
		private int _orderid;
		private string _ordernumber;
		private int _userid;
		private string _fristname;
		private string _lastname;
		private int _producttypeid;
		private int _productid;
		private string _productname;
		private string _giftid;
		private int? _giftnumber;
		private decimal _productprice;
		private int _buynumber;
		private int? _integral;
		private string _pro_specification;
		private int _adminid;
		private DateTime _addtime= DateTime.Now;
		private DateTime _createtime;
		private int? _isstae;
		private string _product_attr;
		/// <summary>
		/// id
		/// </summary>
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 订单id	Golf_Order表
		/// </summary>
		public int OrderId
		{
			set{ _orderid=value;}
			get{return _orderid;}
		}
		/// <summary>
		/// 订单号 
		/// </summary>
		public string OrderNumber
		{
			set{ _ordernumber=value;}
			get{return _ordernumber;}
		}
		/// <summary>
		/// 会员id	Golf_User表
		/// </summary>
		public int UserId
		{
			set{ _userid=value;}
			get{return _userid;}
		}
		/// <summary>
		/// 会员名称	Golf_User表
		/// </summary>
		public string FristName
		{
			set{ _fristname=value;}
			get{return _fristname;}
		}
		/// <summary>
		/// 会员名称	Golf_User表
		/// </summary>
		public string LastName
		{
			set{ _lastname=value;}
			get{return _lastname;}
		}
		/// <summary>
		/// 产品分类id	Golf_ProductType
		/// </summary>
		public int ProductTypeId
		{
			set{ _producttypeid=value;}
			get{return _producttypeid;}
		}
		/// <summary>
		/// 产品id	Golf_Product表
		/// </summary>
		public int ProductId
		{
			set{ _productid=value;}
			get{return _productid;}
		}
		/// <summary>
		/// 产品名称	Golf_Product表
		/// </summary>
		public string ProductName
		{
			set{ _productname=value;}
			get{return _productname;}
		}
		/// <summary>
		/// 赠品id
		/// </summary>
		public string GiftId
		{
			set{ _giftid=value;}
			get{return _giftid;}
		}
		/// <summary>
		/// 赠品数量
		/// </summary>
		public int? GiftNumber
		{
			set{ _giftnumber=value;}
			get{return _giftnumber;}
		}
		/// <summary>
		/// 产品单价
		/// </summary>
		public decimal ProductPrice
		{
			set{ _productprice=value;}
			get{return _productprice;}
		}
		/// <summary>
		/// 购买数量
		/// </summary>
		public int BuyNumber
		{
			set{ _buynumber=value;}
			get{return _buynumber;}
		}
		/// <summary>
		/// 产品积分
		/// </summary>
		public int? Integral
		{
			set{ _integral=value;}
			get{return _integral;}
		}
		/// <summary>
		/// 产品规格
		/// </summary>
		public string Pro_Specification
		{
			set{ _pro_specification=value;}
			get{return _pro_specification;}
		}
		/// <summary>
		/// 后台管理人id	Golf_Admin表
		/// </summary>
		public int AdminId
		{
			set{ _adminid=value;}
			get{return _adminid;}
		}
		/// <summary>
		/// 管理员修改时间
		/// </summary>
		public DateTime AddTime
		{
			set{ _addtime=value;}
			get{return _addtime;}
		}
		/// <summary>
		/// 下单时间
		/// </summary>
		public DateTime CreateTime
		{
			set{ _createtime=value;}
			get{return _createtime;}
		}
		/// <summary>
		/// 订单商品状态，修改订单状态同时修改此状态
		/// </summary>
		public int? IsStae
		{
			set{ _isstae=value;}
			get{return _isstae;}
		}
		/// <summary>
		/// 购买商品属性
		/// </summary>
		public string Product_Attr
		{
			set{ _product_attr=value;}
			get{return _product_attr;}
		}
		#endregion Model

	}
}

